package com.training.java.core.interfaceexamples;

public class Dog implements Animal {

	@Override
	public void sleep() {
		System.out.println("I am a dog and I sleep for less time");
	}

	@Override
	public void walking() {
		System.out.println("I walk and run fast");

	}

	@Override
	public void typeOfFood() {
		System.out.println("I eat both vegetarian and non vegetarian food");
	}

}